<script setup lang="ts">
import DiaLog from './components/DiaLog.vue';
</script>

<template>
  <div>
    <!-- 使用对话框 -->
    <DiaLog>
      <input type="text" placeholder="请输入姓名">
    </DiaLog>
    <DiaLog>
      <div>用户名: <input type="text" placeholder="请输入姓名"></div>
      <div>密码: <input type="password" placeholder="请输入姓名"></div>
      <div>
        <button>登录</button>
        <button>重置</button>
      </div>
    </DiaLog>

    <DiaLog>22121</DiaLog>
  </div>
</template>

<style scoped></style>
